/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.q3and4.liskovsubstitutionprinciple.model.obey;

import za.ac.cput.q3and4.liskovsubstitutionprinciple.model.obey.Rectangle1;

/**
 *
 * @author user
 */
public class Square1 extends Rectangle1 {
   
    private int breadth;
    private double area;
    
    public void setWidth(int width){
            width = width;
            height = width;
    }
    
    public void setHeight(int height){
            width = height;
            height = height;
    }
    
//    
//    public double areaRectangle(){
//        return  area = super.getHeight() * super.getWidth();
//    }
    
}
